package cn.kongwg.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author kongwg
 * @create 2021-02-08 21:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private String name;

    @Autowired
    @Qualifier("address2")
    private Address address;

    private String[] hobbies;
    private List duties;
    private Map familyTies;
    private Set carts;
    private String daughter;

}
